Leadtools.Dicom.Common
LEAD Technologies, Inc

Parse<T>(String,Boolean) Method






The enumeration type
The string to parse.
if set to true ignore case during string comparison.
Parses the specified string to an enumeration allowing for a case insensitve comparison.
Syntax
[ExtensionAttribute()]
public static T Parse<T>( 
   string value,
   bool ignoreCase
)
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function Parse(Of T)( _
   ByVal value As String, _
   ByVal ignoreCase As Boolean _
) As T
'Usage
 
Dim value As String
Dim ignoreCase As Boolean
Dim value As T
 
value = GeneralExtensions.Parse(Of T)(value, ignoreCase)
[ExtensionAttribute()]
public static T Parse<T>( 
   string value,
   bool ignoreCase
)
ExtensionAttribute()
 function Leadtools.Dicom.Common.Extensions.GeneralExtensions.Parse``1(String,Boolean)( 
   value ,
   ignoreCase 
)
[ExtensionAttribute()]
public:
static T^ Parsegeneric<typename T>
( 
   String^ value,
   bool ignoreCase
) 

Parameters

value
The string to parse.
ignoreCase
if set to true ignore case during string comparison.

Type Parameters

T
The enumeration type

Return Value

The enumeration value that corresponds to the string.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

GeneralExtensions Class
GeneralExtensions Members
Overload List

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features